<template>
  <div class="pass-table">
    <el-table
            :data="tableData"
            style="width: 100%">
      <el-table-column
              prop="player"
              label="传球者"
              width="260">
      </el-table-column>
      <el-table-column
              prop="cross"
              label="传中"
              width="100">
      </el-table-column>
      <el-table-column
              prop="success"
              label="成功"
              width="100">
      </el-table-column>
      <el-table-column
              prop="chance"
              label="创造机会"
              width="100">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
  export default {
    name: "PassTable",
    data(){
      return {
        tableData:[
          {player:'奥古斯托',cross:47,success:13,chance:94},
          {player:'比埃拉',cross:3,success:1,chance:45},
          {player:'张稀哲',cross:21,success:4,chance:30},
        ]
      }
    }
  }
</script>

<style scoped>
  .pass-table {
    width: 100%;
    /*height: 100px;*/
  }
  .pass-table /deep/ .el-table td {
    padding: 8px 0;
    background-color: #f1f6f9;
    font-size: 18px;
    font-weight: bold;
    /*color:rgba(101, 111, 115, 0.75);*/
    text-align: left;
  }
  .pass-table /deep/ .is-leaf {
    padding: 5px 0 ;
    background-color: #f1f6f9;
    font-size: 18px;
    font-weight: bold;
    /*color:rgba(101, 111, 115, 0.75);*/
    text-align: left;
  }
</style>